/*
* Copyright (c) 2007 by Kirill Kolodyazhniy.
* See the file "license.terms" for information on usage and redistribution.
*/

#ifndef M_HARDWAREBUFFER_H
#define M_HARDWAREBUFFER_H

namespace Engine
{
	/**
	*   Base interface for hardware buffers.
	*/
	class HardWareBuffer
	{
	public:
		virtual ~HardWareBuffer(){};

		virtual void* Lock() = 0;
		virtual const void* Lock() const = 0;
		virtual void UnLock() const = 0;
	};
}

#endif
